﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Data;
using WPF_DbCenter.CommonMethod;
using System.IO;
using Xceed.Wpf.DataGrid;

namespace WPF_DbCenter.AdditionUI
{
    /// <summary>
    /// Interaction logic for Help.xaml
    /// </summary>
    public partial class Help : BaseUI.BaseFadeDialog
    {
        public Help()
        {
            InitializeComponent();
            Initself();
        }

        private void Initself()
        {
            //DataSet ds = new DataSet("helpDs");
            //if(File.Exists(GlobalInfo.HelpFile))
            //{
            //    ds.ReadXml(GlobalInfo.HelpFile);

            //    DataGridCollectionView dataGridCollectionView = new DataGridCollectionView(ds.Tables[0].DefaultView);
            //    this.dataGridControl1.ItemsSource = dataGridCollectionView;

            //}
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {
            TestPerformance test=new TestPerformance();

            test.ShowDialog();
        }
    }
}
